﻿using ExcelUnity.Core;
using ExcelUnity.Exporter.Attributes;
using ExcelUnity.Exporter.Attributes.Styles;
using ExcelUnity.Exporter.Styles;

namespace ExcelUnity.Test.Export.Dtos
{
    public class UserWithColumnStyle : DynamicCellStyle
    {
        public string Name { get; set; }

        [ColumnName("年龄")]
        public int Age { get; set; }

        [ColumnStyle(isBold: true)]
        public string Hobby { get; set; }

        [IgnoreColumn]
        public string Sex { get; set; }
    }
}
